gtk4.git
12 years agodocs: don't show bloatpad images in the docs
William Jon McCann [Thu, 13 Feb 2014 00:28:51 +0000 (19:28 -0500)]
docs: don't show bloatpad images in the docs

They are too large and out of date.

12 years agodocs: fully break lines in examples
William Jon McCann [Wed, 12 Feb 2014 21:09:09 +0000 (16:09 -0500)]
docs: fully break lines in examples

Try to do a better job of keeping example content
from being too wide. It is often rendered as <pre>
text so the only time we can wrap it is in the source.

It is best to full break lines at all punctuation and
to try to keep the width under 70 chars or so.

12 years agoUpdated POTFILES.in
Piotr Drąg [Wed, 12 Feb 2014 16:28:09 +0000 (17:28 +0100)]
Updated POTFILES.in

12 years agotests: add a visibility toggle to the action bar test
William Jon McCann [Sat, 8 Feb 2014 22:20:06 +0000 (17:20 -0500)]
tests: add a visibility toggle to the action bar test

https://bugzilla.gnome.org/show_bug.cgi?id=723929

12 years agoAdd new ActionBar
William Jon McCann [Sat, 8 Feb 2014 20:27:13 +0000 (15:27 -0500)]
Add new ActionBar

https://bugzilla.gnome.org/show_bug.cgi?id=723929

12 years agoRename GtkActionBar to GtkCenterBox
William Jon McCann [Sat, 8 Feb 2014 16:26:21 +0000 (11:26 -0500)]
Rename GtkActionBar to GtkCenterBox

https://bugzilla.gnome.org/show_bug.cgi?id=723929

12 years agoUpdated Indonesian translation
Andika Triwidada [Wed, 12 Feb 2014 04:56:17 +0000 (04:56 +0000)]
Updated Indonesian translation

12 years agoGtkEntry: Fix a few irregularities in the size request code
Matthias Clasen [Wed, 12 Feb 2014 03:00:12 +0000 (22:00 -0500)]
GtkEntry: Fix a few irregularities in the size request code

We don't want the size request to change as icons come and
go (thinking e.g. about the caps lock warning). Just make
sure that we have enough room for showing the icons.

12 years agoAdd GtkEntry:max-width-chars
Matthias Clasen [Tue, 11 Feb 2014 04:25:20 +0000 (23:25 -0500)]
Add GtkEntry:max-width-chars

This property allows specifying a natural width of
the entry that is bigger than the minimum width.

https://bugzilla.gnome.org/show_bug.cgi?id=724094

12 years agoTajik translation updated
Victor Ibragimov [Tue, 11 Feb 2014 18:53:19 +0000 (23:53 +0500)]
Tajik translation updated

12 years agoRevert "Introduce API to get the preferred visual"
Matthias Clasen [Tue, 11 Feb 2014 03:12:10 +0000 (22:12 -0500)]
Revert "Introduce API to get the preferred visual"

This reverts commit 2b95d1a34ed7cd70ea3eaaa9b7d8add200b5a9d2.

Conflicts:
gdk/gdkscreen.c

12 years agoRevert "Use gdk_screen_get_preferred_visual()"
Matthias Clasen [Tue, 11 Feb 2014 03:10:36 +0000 (22:10 -0500)]
Revert "Use gdk_screen_get_preferred_visual()"

This reverts commit 30fa1426cfec1d83aab2640db06e19e104d5a5d7.

See the bugs
https://bugzilla.gnome.org/show_bug.cgi?id=724067
https://bugzilla.gnome.org/show_bug.cgi?id=723740
for the issues that are the reason for this revert.

12 years agomenu button: Don't set use_popover to TRUE by default
Matthias Clasen [Mon, 10 Feb 2014 14:08:47 +0000 (09:08 -0500)]
menu button: Don't set use_popover to TRUE by default

This was changed by accident. The default value is supposed
to be FALSE, for now.

12 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 10 Feb 2014 13:30:44 +0000 (14:30 +0100)]
Updated Spanish translation

12 years agodocs: Fix tiny typo.
Murray Cumming [Mon, 10 Feb 2014 11:44:52 +0000 (12:44 +0100)]
docs: Fix tiny typo.

12 years agoa11y: remove implementation for component->get_size
Alejandro Piñeiro [Fri, 7 Feb 2014 16:44:14 +0000 (17:44 +0100)]
a11y: remove implementation for component->get_size

Recently get_size was removed because it was redundant, as
you can get the same information from get_extents.

https://bugzilla.gnome.org/show_bug.cgi?id=723863

12 years agoUpdated Galician translations
Fran Diéguez [Mon, 10 Feb 2014 00:32:07 +0000 (01:32 +0100)]
Updated Galician translations

12 years agoDocs: Remove all entities and turn off sgml mode
Matthias Clasen [Sun, 9 Feb 2014 22:24:06 +0000 (17:24 -0500)]
Docs: Remove all entities and turn off sgml mode

With all element markup gone, it is time to turn off
sgml mode, and get rid of entities as well.

12 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Sun, 9 Feb 2014 19:02:39 +0000 (20:02 +0100)]
Updated Norwegian bokmål translation

12 years agoMore coding style cleanups
Matthias Clasen [Sun, 9 Feb 2014 06:22:07 +0000 (01:22 -0500)]
More coding style cleanups

12 years agoTrivial coding style cleanups
Matthias Clasen [Sun, 9 Feb 2014 05:48:38 +0000 (00:48 -0500)]
Trivial coding style cleanups

12 years agoTrivial formatting fix
Matthias Clasen [Sun, 9 Feb 2014 03:18:15 +0000 (22:18 -0500)]
Trivial formatting fix

12 years agoQuell a compiler warning
Matthias Clasen [Sun, 9 Feb 2014 03:17:28 +0000 (22:17 -0500)]
Quell a compiler warning

12 years agoImprove popover positioning
Matthias Clasen [Sun, 9 Feb 2014 03:14:51 +0000 (22:14 -0500)]
Improve popover positioning

Improve the algorithm to determing popover placement:
If it fits in the preferred direction or its opposite,
do that, otherwise use the direction that causes the least
of the popover to be cut off.

12 years agoGtkMenuButton: Support popovers
Matthias Clasen [Sat, 8 Feb 2014 00:21:49 +0000 (19:21 -0500)]
GtkMenuButton: Support popovers

Add api to allow explicitly setting a GtkPopover instead of
a GtkMenu as the popup of a GtkMenuButton. Also, add api to
instruct the menu button to construct a popover when given
a menu model.

We set the style class "menu-button" on the button only when
it pops up a menu, to allow different treatment for the active
state of the button in the two cases.

https://bugzilla.gnome.org/show_bug.cgi?id=723878

12 years agoGtkPopover: use GdkRectangle instead of cairo_rectangle_int_t
Juan R. García Blanco [Tue, 4 Feb 2014 21:33:25 +0000 (22:33 +0100)]
GtkPopover: use GdkRectangle instead of cairo_rectangle_int_t

cairo_rectangle_int_t replaced by GdkRectangle whenever it is used.
Also, rect parameter in public method gtk_popover_set_pointing_to
made const.

Bug #723394

12 years agoGtkDialog: Make headerbar buttons homogeneous
Matthias Clasen [Sat, 8 Feb 2014 03:36:24 +0000 (22:36 -0500)]
GtkDialog: Make headerbar buttons homogeneous

The buttons in headerbars should be all the same width. Since
GtkHeaderBar doesn't have a homogeneous mode, use a size group
to achieve this.

https://bugzilla.gnome.org/show_bug.cgi?id=723672

12 years agoGtkFlowBox::child-activated: fix param type in g_signal_connect
Juan R. García Blanco [Wed, 5 Feb 2014 21:10:05 +0000 (22:10 +0100)]
GtkFlowBox::child-activated: fix param type in g_signal_connect

Replace GTK_TYPE_WIDGET with more specific GTK_TYPE_FLOW_BOX_CHILD
for GtkFlowBox::child-activated. This matches signature of
child_activated slot in class struct.

https://bugzilla.gnome.org/show_bug.cgi?id=723716

12 years agodocs: fix typo
William Jon McCann [Sat, 8 Feb 2014 02:34:27 +0000 (21:34 -0500)]
docs: fix typo

12 years agodocs: rewrite the CSS Properties docs
William Jon McCann [Sat, 8 Feb 2014 01:52:37 +0000 (20:52 -0500)]
docs: rewrite the CSS Properties docs

12 years agodocs: don't use a table for the region docs
William Jon McCann [Fri, 7 Feb 2014 23:25:42 +0000 (18:25 -0500)]
docs: don't use a table for the region docs

12 years agodocs: improve the cssprovider documentation layout
William Jon McCann [Fri, 7 Feb 2014 22:35:22 +0000 (17:35 -0500)]
docs: improve the cssprovider documentation layout

12 years agoFix margin-start/end property implementation
Matthias Clasen [Sat, 8 Feb 2014 01:25:12 +0000 (20:25 -0500)]
Fix margin-start/end property implementation

The properties are declared read-write, but only the setter
was hooked up. This was leading to criticals in test apps using
the prop-editor.c code. Complete the implementation by adding the
getter side too.

12 years agowayland: Add support for set_shadow_width
Jasper St. Pierre [Fri, 7 Feb 2014 22:20:14 +0000 (17:20 -0500)]
wayland: Add support for set_shadow_width

12 years agowayland: Add support for delete event
Jasper St. Pierre [Fri, 7 Feb 2014 22:16:40 +0000 (17:16 -0500)]
wayland: Add support for delete event

12 years agowayland: Remove edges from configure
Jasper St. Pierre [Fri, 7 Feb 2014 22:16:28 +0000 (17:16 -0500)]
wayland: Remove edges from configure

12 years agogdkthreads: Update documentation
Jasper St. Pierre [Thu, 6 Feb 2014 16:44:30 +0000 (11:44 -0500)]
gdkthreads: Update documentation

12 years agodocs: don't use <anchor>
William Jon McCann [Fri, 7 Feb 2014 20:37:02 +0000 (15:37 -0500)]
docs: don't use <anchor>

12 years agoAdd a test for model-based popovers
Matthias Clasen [Sun, 26 Jan 2014 13:02:28 +0000 (08:02 -0500)]
Add a test for model-based popovers

https://bugzilla.gnome.org/show_bug.cgi?id=723014

12 years agoPopulate popovers from menu models
Matthias Clasen [Fri, 7 Feb 2014 19:51:49 +0000 (14:51 -0500)]
Populate popovers from menu models

This adds a new function, gtk_popover_new_from_model, which creates
a popover and populates it with suitable content according to the
menu model. The current implementation uses GtkModelButton for the
individual items, and a GtkStack for submenus.

https://bugzilla.gnome.org/show_bug.cgi?id=723014

12 years agoIntroduce GtkModelButton
Matthias Clasen [Fri, 7 Feb 2014 19:51:34 +0000 (14:51 -0500)]
Introduce GtkModelButton

Similar in spirit to GtkModelMenuItem, this private GtkButton subclass
can connect to a GtkMenuTrackerItem and present itself as either a
regular button, a check button, or a radio button. Activation and
state tracking is done through the GAction that is associated with
the menu tracker item.

https://bugzilla.gnome.org/show_bug.cgi?id=723014

12 years agodocs: use proper quotations instead of '*'
William Jon McCann [Fri, 7 Feb 2014 19:03:49 +0000 (14:03 -0500)]
docs: use proper quotations instead of '*'

12 years agodocs: use apostrophe in *'m
William Jon McCann [Fri, 7 Feb 2014 18:42:09 +0000 (13:42 -0500)]
docs: use apostrophe in *'m

12 years agodocs: use apostrophe in *'d
William Jon McCann [Fri, 7 Feb 2014 18:39:53 +0000 (13:39 -0500)]
docs: use apostrophe in *'d

12 years agodocs: use apostrophe in *'ve
William Jon McCann [Fri, 7 Feb 2014 18:38:26 +0000 (13:38 -0500)]
docs: use apostrophe in *'ve

12 years agodocs: use apostrophe in *'re
William Jon McCann [Fri, 7 Feb 2014 18:37:09 +0000 (13:37 -0500)]
docs: use apostrophe in *'re

12 years agodocs: use apostrophe in *'ll
William Jon McCann [Fri, 7 Feb 2014 18:35:54 +0000 (13:35 -0500)]
docs: use apostrophe in *'ll

12 years agodocs: use apostrophes in *n't
William Jon McCann [Fri, 7 Feb 2014 18:32:47 +0000 (13:32 -0500)]
docs: use apostrophes in *n't

12 years agodocs: use more apostrophes
William Jon McCann [Fri, 7 Feb 2014 18:26:12 +0000 (13:26 -0500)]
docs: use more apostrophes

12 years agodocs: use proper apostrophe
William Jon McCann [Fri, 7 Feb 2014 18:01:26 +0000 (13:01 -0500)]
docs: use proper apostrophe

https://wiki.gnome.org/Design/OS/Typography

12 years agodocs: use links instead of <xref>
William Jon McCann [Fri, 7 Feb 2014 16:12:43 +0000 (11:12 -0500)]
docs: use links instead of <xref>

12 years agopopover: propagate (insensitive|backdrop) flags from relative-to widget
Carlos Garnacho [Fri, 7 Feb 2014 15:18:48 +0000 (16:18 +0100)]
popover: propagate (insensitive|backdrop) flags from relative-to widget

Popovers aren't direct children of the widget they point to, but yet
they act as children of it, so do the same with state propagation,
so the flags that propagate across the hierarchy reach popovers too.

12 years agopopover: Listen on grab_notify from the relative-to widget
Carlos Garnacho [Fri, 7 Feb 2014 15:14:23 +0000 (16:14 +0100)]
popover: Listen on grab_notify from the relative-to widget

Anytime ::grab-notify comes across, the popover visibility and GTK+
grab ownership are checked, so the popover is hidden when it loses
the GTK+ by any reason.

12 years agoAdd GTK_STYLE_CLASS_DESTRUCTIVE_ACTION
William Jon McCann [Fri, 7 Feb 2014 15:28:24 +0000 (10:28 -0500)]
Add GTK_STYLE_CLASS_DESTRUCTIVE_ACTION

12 years agoAdd GTK_STYLE_CLASS_SUGGESTED_ACTION
William Jon McCann [Fri, 7 Feb 2014 15:25:00 +0000 (10:25 -0500)]
Add GTK_STYLE_CLASS_SUGGESTED_ACTION

12 years agodocs: remove <emphasis>
William Jon McCann [Fri, 7 Feb 2014 15:07:16 +0000 (10:07 -0500)]
docs: remove <emphasis>

12 years agodocs: Use markup for links
William Jon McCann [Fri, 7 Feb 2014 02:07:03 +0000 (21:07 -0500)]
docs: Use markup for links

12 years agowidget: Ignore text direction in gtk_widget_set_state_flags()
Benjamin Otte [Fri, 7 Feb 2014 13:45:54 +0000 (14:45 +0100)]
widget: Ignore text direction in gtk_widget_set_state_flags()

Previously we did a semi-successful job at ignoring it. Unfortunately
this job was bad enough that we could lose the direction.

We still allow passing in the enum values, because we want code like
this to work:
  set_state_flags (get_state_flags() | SOME_FLAGS)

12 years agoTajik translation updated
Victor Ibragimov [Fri, 7 Feb 2014 12:46:14 +0000 (17:46 +0500)]
Tajik translation updated

12 years agogtkmagnifier: do not use P_() macro for property names
Carlos Garcia Campos [Fri, 7 Feb 2014 07:17:11 +0000 (08:17 +0100)]
gtkmagnifier: do not use P_() macro for property names

12 years agoWayland: Set gtk-dialogs-use-header
Matthias Clasen [Fri, 7 Feb 2014 03:51:05 +0000 (22:51 -0500)]
Wayland: Set gtk-dialogs-use-header

Since we don't have a setting for this, hardcode the value
for now.

12 years agoUpdated Galician translations
Fran Diéguez [Fri, 7 Feb 2014 01:23:28 +0000 (02:23 +0100)]
Updated Galician translations

12 years agoBump glib dep
Matthias Clasen [Thu, 6 Feb 2014 22:44:24 +0000 (17:44 -0500)]
Bump glib dep

12 years agoRevert "Fix memory leak in GtkTreeViewAccessible"
Ignacio Casal Quinteiro [Thu, 6 Feb 2014 21:15:12 +0000 (22:15 +0100)]
Revert "Fix memory leak in GtkTreeViewAccessible"

This reverts commit 7a411eb6dd4dd0dedf28f3b5414561e765886369.
This also makes gedit external tools manager to crash

12 years agogdkwindow-wayland: Make function order match listener order
Jasper St. Pierre [Thu, 6 Feb 2014 19:28:51 +0000 (14:28 -0500)]
gdkwindow-wayland: Make function order match listener order

12 years agoUpdated Slovenian translation
Matej Urbančič [Thu, 6 Feb 2014 19:24:22 +0000 (20:24 +0100)]
Updated Slovenian translation

12 years agoGtkApplication: install gtk option group
Ryan Lortie [Thu, 6 Feb 2014 17:33:44 +0000 (17:33 +0000)]
GtkApplication: install gtk option group

Install Gtk's GOptionGroup in GApplication just before commandline
arguments are parsed.

12 years agoGtkTreeViewColumn: fix critical warning
Claudio Saavedra [Tue, 4 Feb 2014 20:32:02 +0000 (22:32 +0200)]
GtkTreeViewColumn: fix critical warning

Do not call _column_autosize() if there is no treeview set yet.

https://bugzilla.gnome.org/show_bug.cgi?id=723637

12 years agogtkwindow: remove delete-event idle function on finalize
Claudio Saavedra [Thu, 6 Feb 2014 15:25:55 +0000 (17:25 +0200)]
gtkwindow: remove delete-event idle function on finalize

Heavy duty can prevent this idle function from being called before
the window is destroyed, so make sure that the source is removed
when the window is finalized.

https://bugzilla.gnome.org/show_bug.cgi?id=723771

12 years agodocs: fix quotes in example
William Jon McCann [Thu, 6 Feb 2014 15:54:42 +0000 (10:54 -0500)]
docs: fix quotes in example

12 years agopopover: Emit ::closed once modality is cleared
Bastien Nocera [Thu, 6 Feb 2014 15:13:43 +0000 (16:13 +0100)]
popover: Emit ::closed once modality is cleared

Otherwise, calling gtk_widget_grab_focus() on a widget when the
popover send ::closed won't work.

12 years agodocs: Don't use warnings
William Jon McCann [Thu, 6 Feb 2014 14:44:46 +0000 (09:44 -0500)]
docs: Don't use warnings

12 years agopopover: Add ::closed signal
Carlos Garnacho [Thu, 6 Feb 2014 14:30:55 +0000 (15:30 +0100)]
popover: Add ::closed signal

This signal is emitted when the popover is dismissed either through
API or user interaction, somewhat more friendly than connecting to
::unmap.

12 years agopopover: Add padding pointers to GtkPopoverClass
Carlos Garnacho [Thu, 6 Feb 2014 14:21:56 +0000 (15:21 +0100)]
popover: Add padding pointers to GtkPopoverClass

12 years agodocs: don't use <important>
William Jon McCann [Wed, 5 Feb 2014 07:25:03 +0000 (02:25 -0500)]
docs: don't use <important>

12 years agodocs: don't use <warning>
William Jon McCann [Wed, 5 Feb 2014 07:17:03 +0000 (02:17 -0500)]
docs: don't use <warning>

12 years agodocs: use markdown instead of <note>
William Jon McCann [Wed, 5 Feb 2014 04:57:30 +0000 (23:57 -0500)]
docs: use markdown instead of <note>

12 years agoUpdated Scottish Gaelic translation
GunChleoc [Wed, 5 Feb 2014 22:31:24 +0000 (22:31 +0000)]
Updated Scottish Gaelic translation

12 years agoUpdated translation date
GNOME Translation Robot [Wed, 5 Feb 2014 21:02:57 +0000 (21:02 +0000)]
Updated translation date

This is a test commit for hook checks.

12 years agoUse proper quotes in gdk
William Jon McCann [Wed, 5 Feb 2014 19:50:22 +0000 (14:50 -0500)]
Use proper quotes in gdk

12 years agodocs: use proper quotes
William Jon McCann [Wed, 5 Feb 2014 18:07:34 +0000 (13:07 -0500)]
docs: use proper quotes

12 years agodocs: fix missing quotation mark
William Jon McCann [Wed, 5 Feb 2014 18:21:57 +0000 (13:21 -0500)]
docs: fix missing quotation mark

12 years agoUpdated French translation
Claude Paroz [Wed, 5 Feb 2014 20:05:43 +0000 (20:05 +0000)]
Updated French translation

12 years agodocs: add back id for section heading
William Jon McCann [Wed, 5 Feb 2014 05:32:37 +0000 (00:32 -0500)]
docs: add back id for section heading

It was lost during the markdown conversion.

12 years agodocs: Don't use <xi:include>
William Jon McCann [Wed, 5 Feb 2014 02:35:21 +0000 (21:35 -0500)]
docs: Don't use <xi:include>

12 years agoUpdated French translation
Claude Paroz [Wed, 5 Feb 2014 17:13:56 +0000 (18:13 +0100)]
Updated French translation

12 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 5 Feb 2014 12:49:05 +0000 (13:49 +0100)]
Updated Spanish translation

12 years agolabel: Invalidate link colors on style change
Benjamin Otte [Wed, 5 Feb 2014 12:36:33 +0000 (13:36 +0100)]
label: Invalidate link colors on style change

Discovered-by: Timm Bäder <mail@baedert.org>
https://bugzilla.gnome.org/show_bug.cgi?id=721309

12 years agolabel: refactor code
Benjamin Otte [Wed, 5 Feb 2014 02:17:48 +0000 (03:17 +0100)]
label: refactor code

Split out function for setting attributes. This will be needed in future
patches.

12 years agolabel: Avoid creating new attribute list
Benjamin Otte [Tue, 4 Feb 2014 22:34:06 +0000 (23:34 +0100)]
label: Avoid creating new attribute list

Only create an attribute list for merging if we actually need to merge.

This bug was introduced in 5230cfe805b8f0046896c029612180fc9d4cc5df

12 years agowidget: Fix margin-start and margin-end properties
Bastien Nocera [Wed, 5 Feb 2014 09:34:44 +0000 (10:34 +0100)]
widget: Fix margin-start and margin-end properties

The margin-start and margin-end properties were incorrectly
defined, so margins weren't respected for RTL languages.

https://bugzilla.gnome.org/show_bug.cgi?id=723627

12 years agoUpdated Scottish Gaelic translation
GunChleoc [Wed, 5 Feb 2014 11:03:40 +0000 (11:03 +0000)]
Updated Scottish Gaelic translation

12 years agoUpdated Thai translation
Theppitak Karoonboonyanan [Wed, 5 Feb 2014 09:23:52 +0000 (16:23 +0700)]
Updated Thai translation

12 years agoAdd minimal popover theming to Raleigh
Matthias Clasen [Wed, 5 Feb 2014 04:10:22 +0000 (23:10 -0500)]
Add minimal popover theming to Raleigh

Add background and border, so the popover boundaries are visible.

12 years agodocs: Use "#" for refsect2 instead of ##
William Jon McCann [Wed, 5 Feb 2014 02:00:58 +0000 (21:00 -0500)]
docs: Use "#" for refsect2 instead of ##

12 years agodocs: don't use <para id="">
William Jon McCann [Wed, 5 Feb 2014 01:21:05 +0000 (20:21 -0500)]
docs: don't use <para id="">

12 years agodocs: use a list instead of a table
William Jon McCann [Wed, 5 Feb 2014 01:00:53 +0000 (20:00 -0500)]
docs: use a list instead of a table

12 years agodocs: don't use <orderedlist>
William Jon McCann [Wed, 5 Feb 2014 00:45:36 +0000 (19:45 -0500)]
docs: don't use <orderedlist>

12 years agodocs: don't use <variablelist>
William Jon McCann [Wed, 5 Feb 2014 00:40:34 +0000 (19:40 -0500)]
docs: don't use <variablelist>

12 years agodocs: don't use itemizedlist
William Jon McCann [Wed, 5 Feb 2014 00:33:43 +0000 (19:33 -0500)]
docs: don't use itemizedlist